package org.example.myleet.p1078;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[\"girl\",\"student\"]".equals(JsonUtils.toJson(solution.findOcurrences("alice is a good girl she is a good student", "a", "good"))));
        Assert.isTrue("[\"we\",\"rock\"]".equals(JsonUtils.toJson(solution.findOcurrences("we will we will rock you", "we", "will"))));
    }
}
